package DPIS;

/**
 * Holder class for : StationServer
 * 
 * @author OpenORB Compiler
 */
final public class StationServerHolder
        implements org.omg.CORBA.portable.Streamable
{
    /**
     * Internal StationServer value
     */
    public DPIS.StationServer value;

    /**
     * Default constructor
     */
    public StationServerHolder()
    { }

    /**
     * Constructor with value initialisation
     * @param initial the initial value
     */
    public StationServerHolder(DPIS.StationServer initial)
    {
        value = initial;
    }

    /**
     * Read StationServer from a marshalled stream
     * @param istream the input stream
     */
    public void _read(org.omg.CORBA.portable.InputStream istream)
    {
        value = StationServerHelper.read(istream);
    }

    /**
     * Write StationServer into a marshalled stream
     * @param ostream the output stream
     */
    public void _write(org.omg.CORBA.portable.OutputStream ostream)
    {
        StationServerHelper.write(ostream,value);
    }

    /**
     * Return the StationServer TypeCode
     * @return a TypeCode
     */
    public org.omg.CORBA.TypeCode _type()
    {
        return StationServerHelper.type();
    }

}
